<script setup>
import StudentList from '@/views/edutation/student/index.vue'
import {PlusDialog} from "plus-pro-components";
const listRef = ref(null)
const emit = defineEmits(['update:list','submit',])
const props =defineProps({
  modelValue:{
    type:Boolean,
    default:false
  }
})
const onSubmit = ()=>{
  emit('submit',listRef.value.gSelection)
}
</script>
<template>
  <PlusDialog @confirm="onSubmit"  width="1200px" @update:model-value="emit('update:model-value',false)" :model-value="modelValue" title="学生管理">
    <StudentList ref="listRef" :tableHideAttr="['action','houseAddress']"   :titleBar="false" :isPage="false" :showToolbar="false" />
  </PlusDialog>
</template>
<style scoped lang="scss">
</style>
